<?php


namespace app\common\models;


use app\common\traits\BaseModelOptionTrait;
use think\Model;

class UserWalletLog extends Model
{
    use BaseModelOptionTrait;

    protected $table = 'xiangji_user_wallet_logs';
    // 自动维护时间戳
    protected $autoWriteTimestamp = true;

    // 该钱包日志的所属用户
    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
